﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RedDragon.Common.Domain.produceplan
{
    /// <summary>
    /// 主生产计划表
    /// </summary>
    /// 
    [SugarTable("produceplan")]
    public class produceplan
    {
        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
        public int produceplanId { get; set; }
        /// <summary>
        /// 计划编码
        /// </summary>
        public string? produceplanNumber { get; set; }
        /// <summary>
        /// 计划名称
        /// </summary>
        public string? produceplanName { get; set; }
        /// <summary>
        /// 计划描述
        /// </summary>
        public string? produceplanDetail { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int produceplanStatus { get; set; }
        /// <summary>
        /// 制单人
        /// </summary>
        public string? MakeName { get; set; }
        /// <summary>
        /// 制单部门
        /// </summary>
        public int MakeDepartment { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 审批状态
        /// </summary>
        public int produceplanAudit { get; set; }
        /// <summary>
        /// 逻辑删除
        /// </summary>
        public bool IsDelete { get; set; }
    }
}
